//
//  WBDemoViewController.swift
//  SinaApp
//
//  Created by shui on 2018/3/27.
//  Copyright © 2018年 shui. All rights reserved.
//

import UIKit

class WBDemoViewController: WBBaseViewController {
    

    override func viewDidLoad() {
        super.viewDidLoad()
        
        title = "收费明细"
        view.backgroundColor = UIColor.cz_random()
    }
    
     @objc private func showNext() {
  
        let vc:WBTestViewController = WBTestViewController()
        navigationController?.pushViewController(vc, animated: true)
     }
}

extension WBDemoViewController{
    override func initUI() {
        navigationItem.rightBarButtonItem = UIBarButtonItem(title: "下一个", target: self, action: #selector(showNext))
    }
}
